package io.renren.service.impl;

        import org.springframework.beans.factory.annotation.Autowired;
        import org.springframework.stereotype.Service;

        import java.util.List;
        import java.util.Map;

        import io.renren.dao.SysGroupDao;
        import io.renren.entity.SysGroupEntity;
        import io.renren.service.SysGroupService;


@Service("sysGroupService")
public class SysGroupServiceImpl implements SysGroupService {
    @Autowired
    private SysGroupDao sysGroupDao;

    @Override
    public SysGroupEntity queryObject(Integer id) {
        return sysGroupDao.queryObject(id);
    }

    @Override
    public List<SysGroupEntity> queryList(Map<String, Object> map) {
        return sysGroupDao.queryList(map);
    }

    @Override
    public int queryTotal(Map<String, Object> map) {
        return sysGroupDao.queryTotal(map);
    }

    @Override
    public void save(SysGroupEntity sysGroup) {
            sysGroupDao.save(sysGroup);
    }

    @Override
    public void update(SysGroupEntity sysGroup) {
            sysGroupDao.update(sysGroup);
    }

    @Override
    public void delete(Integer id) {
            sysGroupDao.delete(id);
    }

    @Override
    public void deleteBatch(Integer[]ids) {
            sysGroupDao.deleteBatch(ids);
    }

}
